package net.lainiao;

import org.junit.Test;

/**
 * Created by Administrator on 2017/3/7.
 */
public class MyTest1 {
    @Test
    public void test1(){
        String str1=new String("A");
        String str2=new String("A");
        System.out.println(str1.hashCode());
        System.out.println(str2.hashCode());
        switch (str1){
            case "A":
                System.out.println("heelo");
                break;
        }
    }
}
